package net.mingsoft.basic.biz;

import net.mingsoft.base.biz.*;
import java.util.*;
import net.mingsoft.base.constant.e.*;
import net.mingsoft.basic.entity.*;

public interface IModelBiz extends IBaseBiz<ModelEntity>
{
    List<ModelEntity> queryModelByRoleId(final int roleId);
    
    ModelEntity getEntityByModelCode(final BaseEnum modelCode);
    
    ModelEntity getEntityByModelCode(final String modelCode);
    
    ModelEntity getModel(final String modelType, final int modelId);
    
    @Deprecated
    void reModel(final ModelEntity modelParent, final String parentIds, final int mangerRoleId, final List<RoleModelEntity> roleModels, final Integer parentId);
    
    @Deprecated
    void jsonToModel(final String menuStr, final int mangerRoleId, final int modelId);
    
    void importModel(final ModelEntity modelEntity, final int mangerRoleId, final String parentIds, final Integer modelId);
    
    void updateEntity(final ModelEntity model);
    
    void saveEntity(final ModelEntity model);
    
    List<ModelEntity> queryChildList(final ModelEntity modelEntity);
}
